package fightplan.actions;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.JFrame;

@SuppressWarnings("serial")
public class RefreshAction extends AbstractAction {

	private JFrame frame;

	public RefreshAction(JFrame frame) {
		super("Refresh");
		this.frame = frame;
	}

	public void actionPerformed(ActionEvent actionEvent) {
		frame.repaint();
	}

}